import request from '../utils/request'

export function getCategoryList() {
    return request({
        url: '/uum-blog/api/v2/door/listCategory',
        method: 'get',
    })
}

export function getBlogCountByCategory() {
    return request({
        url: '/web/category/getBlogCountByCategory',
        method: 'get',
    })
}


export function getBlogByCategory(id,currentPage,pageSize) {
    return request({
        url: '/web/uum-blog/api/v2/door/pageBlog',
        method: 'get',
        params: {id,currentPage,pageSize}
    })
}




